﻿using System;
using Autodesk.Revit.DB;

namespace YArchitech.Revit
{
	public class HYConnector
	{
		public HYConnector(Connector connector)
		{
			this.connector = connector;
			this.origin = connector.Origin;
			this.direction = connector.CoordinateSystem.BasisZ;
		}

		public XYZ Origin
		{
			get
			{
				return this.origin;
			}
		}

		public Connector Connector
		{
			get
			{
				return this.connector;
			}
		}

		public XYZ Direction
		{
			get
			{
				return this.direction;
			}
		}

		private XYZ origin;

		private Connector connector;

		private XYZ direction;
	}
}
